<!--
 * @Author: 471826078@qq.com
 * @Date: 2020-06-03 09:21:01
 * @LastEditors: zhangfan
 * @LastEditTime: 2020-11-12 14:53:26
-->
<template>
  <div class="container mainCon">
    <div class="mainConHeader">
      <div class="mainConHeaderContent"></div>
      <el-tabs
        v-model="activeName"
        type="card"
        @tab-click="handleClick"
        class="tabs"
      >
        <el-tab-pane
          :label="item.label"
          :name="item.id"
          v-for="item in list"
          :key="item.id"
        ></el-tab-pane>
      </el-tabs>
      <tobePerfectCount
        :list="list"
        :activeName="parseInt(activeName) - 1"
        @callBackActive="callBackActive"
        v-if="1 == activeName"
      />
      <unRealName
        :list="list[activeName - 1]"
        @setList="setList"
        :areaId="areaId"
        :industryId="industryId"
        :status="status"
        :investment="investment"
        :activeName="parseInt(activeName) - 1"
        v-else
      />
    </div>
  </div>
</template>
<script>
import tobePerfectCount from '@/components/dynamicService/tobePerfectCount'
import unRealName from '@/components/dynamicService/unRealName'
export default {
  name: 'tobePerfectOld',
  components: {
    tobePerfectCount,
    unRealName,
  },
  data() {
    return {
      activeName: '1',
      areaId: '',
      industryId: '',
      status: '',
      investment: '',
      isEsUserTab: {
        id: '11',
        label: '无资金拨付的财政项目',
        isDefault: true,
        name: 'availableFiscalTotal',
        children: [
          {
            id: 'deposit_access_total1101',
            label: '项目名称',
            isDefault: true,
            disabled1: true,
            isShow: true,
            name: 'projectName',
          },
          {
            id: 'deposit_access_total1102',
            label: '市或盟',
            disabled1: true,
            isDefault: true,
            isShow: true,
            name: 'cityName',
          },
          {
            id: 'deposit_access_total1103',
            label: '区县',
            disabled1: true,
            isDefault: true,
            isShow: true,
            name: 'countyName',
          },
          {
            id: 'deposit_access_total1104',
            label: '街道',
            disabled1: true,
            isDefault: true,
            isShow: true,
            name: 'townName',
          },
          {
            id: 'deposit_access_total1105',
            label: '行业',
            isDefault: true,
            disabled1: true,
            isShow: true,
            name: 'industryName',
          },
          {
            id: 'deposit_access_total1106',
            label: '投资类别',
            isDefault: true,
            isShow: true,
            name: 'investmentDesc',
          },

          {
            id: 'deposit_access_total1107',
            label: '施工方',
            isDefault: true,
            isShow: true,
            name: 'pbName',
          },

          {
            id: 'deposit_access_total1108',
            label: '建设方',
            isDefault: true,
            isShow: false,
            name: 'pcName',
          },
          {
            id: 'deposit_access_total1109',
            label: '建档日期',
            isDefault: true,
            isShow: true,
            name: 'archiveDate',
          },
          {
            id: 'deposit_access_total1110',
            label: '开工日期',
            isDefault: true,
            isShow: true,
            name: 'startDate',
          },
          {
            id: 'deposit_access_total1111',
            label: '建设周期',
            isDefault: true,
            isShow: false,
            name: 'cycle',
          },
          {
            id: 'deposit_access_total1112',
            label: '竣工日期',
            isDefault: true,
            isShow: false,
            name: 'endDate',
          },
          {
            id: 'deposit_access_total1113',
            label: '项目状态',
            isDefault: true,
            isShow: false,
            name: 'statusDesc',
          },
          {
            id: 'deposit_access_total1114',
            label: '项目工程造价',
            isDefault: true,
            isShow: false,
            name: 'total',
          },
          {
            id: 'deposit_access_total1115',
            label: '项目详细地址',
            isDefault: true,
            isShow: false,
            name: 'address',
          },
          {
            id: 'deposit_access_total1116',
            label: '开户银行',
            isDefault: true,
            isShow: false,
            name: 'bankName',
          },
          {
            id: 'deposit_access_total1117',
            label: '工资专户账号',
            isDefault: true,
            isShow: false,
            name: 'account',
          },
          {
            id: 'deposit_access_total1118',
            label: '项目负责人(施工方)',
            isDefault: true,
            isShow: true,
            name: 'leader',
          },
          {
            id: 'deposit_access_total1119',
            label: '负责人手机号(施工方)',
            isDefault: true,
            isShow: true,
            name: 'leaderTel',
          },
          {
            id: 'deposit_access_total1120',
            label: '项目负责人（建设方）',
            isDefault: true,
            isShow: false,
            name: 'pcLeader',
          },
          {
            id: 'deposit_access_total1121',
            label: '负责人手机号（建设方）',
            isDefault: true,
            isShow: false,
            name: 'pcLeaderTel',
          },
        ],
      },
      list: [
        //一次导入多张表：1级数组label为报表名称，
        //children为导出字段数组 ，isDefault分别为是否导出报表和导出字段。
        //返回的数据只改变了 isDefault的值。
        {
          id: '1',
          label: '待完善项目统计',
          isDefault: true,
          name: 'type1',
          fixed: true,
          children: [
            {
              id: 'areaName1',
              label: '区域',
              isDefault: true,
              isShow: true,
              disabled1: true,
              name: 'areaName',
            },
            {
              id: 'industryName1',
              label: '行业',
              isDefault: true,
              isShow: true,
              disabled1: true,
              name: 'industryName',
            },
            {
              id: 'investmentName1',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              disabled1: true,
              name: 'investmentName',
            },
            {
              id: 'perfectProjectTotal',
              label: '待完善项目总数（个）',
              isDefault: true,
              isShow: true,
              name: 'perfectProjectTotal',
            },
            {
              id: 'realTotal',
              label: '未落实实名制项目(个)',
              isDefault: true,
              isShow: true,
              name: 'realTotal',
            },
            {
              id: 'realAttTotal',
              label: '未实名制考勤项目数（个）',
              isDefault: true,
              isShow: true,
              name: 'realAttTotal',
            },
            {
              id: 'inputBankTotal',
              label: '未录入专户的项目数（个）',
              isDefault: true,
              isShow: true,
              name: 'inputBankTotal',
            },
            {
              id: 'depositFundTotal',
              label: '专户已开设，但未缴存资金项目数（个）',
              isDefault: true,
              isShow: true,
              name: 'depositFundTotal',
            },
            {
              id: 'payTotal',
              label: '专户已开设，但未代发工资项目（个）',
              isDefault: true,
              isShow: true,
              name: 'payTotal',
            },
            {
              id: 'lastNonthPayTotal',
              label: '上月未制作工资表项目数（个）',
              isDefault: true,
              isShow: true,
              name: 'lastNonthPayTotal',
            },
            {
              id: 'payDayTotal',
              label: '专户已开设，近60天未代发工资项目数(个)',
              isDefault: true,
              isShow: true,
              name: 'payDayTotal',
            },
            {
              id: 'psTotal',
              label: '未上传维权公示牌项目数(个)',
              isDefault: true,
              isShow: true,
              name: 'psTotal',
            },
            {
              id: 'depositAccassTotal',
              label: '未缴纳保证金项目数(个)',
              isDefault: true,
              isShow: true,
              name: 'depositAccassTotal',
            },
          ],
        },
        {
          id: '2',
          label: '未落实实名制项目',
          isDefault: true,
          name: 'real_total',
          children: [
            {
              id: 'real_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'real_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'real_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'real_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'real_total3',
              label: '行业',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'real_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },
            {
              id: 'real_total5',
              label: '实名制总人数',
              isDefault: true,
              isShow: true,
              name: 'realNameTotal',
            },
            {
              id: 'real_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },
            {
              id: 'real_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'real_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'real_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'real_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'real_total31',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'real_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'real_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'real_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'real_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'real_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'real_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'real_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },

            {
              id: 'real_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'real_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '3',
          label: '未实名制考勤项目',
          isDefault: true,
          name: 'real_all_total',
          children: [
            {
              id: 'real_all_total1',
              label: '项目名称',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'real_all_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'real_all_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'real_all_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'real_all_total3',
              label: '行业',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'real_all_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'real_all_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },
            {
              id: 'real_all_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'real_all_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'real_all_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'real_all_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'real_all_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'real_all_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'real_all_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'real_all_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'real_all_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'real_all_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'real_all_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'real_all_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },

            {
              id: 'real_all_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'real_all_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '4',
          label: '未录入专户的项目',
          isDefault: true,
          name: 'input_bank_total',
          children: [
            {
              id: 'input_bank_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'input_bank_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'input_bank_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'input_bank_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'input_bank_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'input_bank_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'input_bank_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'input_bank_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'input_bank_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'input_bank_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'input_bank_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'input_bank_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'input_bank_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'input_bank_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'input_bank_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'input_bank_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'input_bank_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'input_bank_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'input_bank_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'input_bank_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'input_bank_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '5',
          label: '专户已开设,未缴存资金项目',
          isDefault: true,
          name: 'deposit_fund_total',
          children: [
            {
              id: 'deposit_fund_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'deposit_fund_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'deposit_fund_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'deposit_fund_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'deposit_fund_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'deposit_fund_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'deposit_fund_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'deposit_fund_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'deposit_fund_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'deposit_fund_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'deposit_fund_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'deposit_fund_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'deposit_fund_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'deposit_fund_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'deposit_fund_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'deposit_fund_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'deposit_fund_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'deposit_fund_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'deposit_fund_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'deposit_fund_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'deposit_fund_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '6',
          label: '已开设专户，未代发工资项目',
          isDefault: true,
          name: 'pay_total',
          children: [
            {
              id: 'pay_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'pay_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'pay_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'pay_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'pay_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'pay_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'pay_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'pay_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'pay_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'pay_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'pay_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'pay_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'pay_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'pay_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'pay_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'pay_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'pay_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'pay_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'pay_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'pay_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'pay_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '7',
          label: '上月未制作工资表项目',
          isDefault: true,
          name: 'last_month_pay_total',
          children: [
            {
              id: 'last_month_pay_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'last_month_pay_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'last_month_pay_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'last_month_pay_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'last_month_pay_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'last_month_pay_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'last_month_pay_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'last_month_pay_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'last_month_pay_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'last_month_pay_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'last_month_pay_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'last_month_pay_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'last_month_pay_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'last_month_pay_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'last_month_pay_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'last_month_pay_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'last_month_pay_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'last_month_pay_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'last_month_pay_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'last_month_pay_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'last_month_pay_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '8',
          label: '专户已开设，近60天未代发工资项目',
          isDefault: true,
          name: 'pay_day_total',
          children: [
            {
              id: 'pay_day_total1',
              label: '项目名称',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'pay_day_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'pay_day_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'pay_day_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'pay_day_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'pay_day_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'pay_day_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'pay_day_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'pay_day_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'pay_day_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'pay_day_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'pay_day_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'pay_day_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'pay_day_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'pay_day_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'pay_day_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'pay_day_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'pay_day_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'pay_day_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'pay_day_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'pay_day_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '9',
          label: '未上传维权公示牌项目',
          isDefault: true,
          name: 'ps_total',
          children: [
            {
              id: 'ps_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'ps_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'ps_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'ps_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'ps_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'ps_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'ps_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'ps_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'ps_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'ps_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'ps_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'ps_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'ps_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'ps_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'ps_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'ps_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'ps_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'ps_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'ps_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'ps_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'ps_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
        {
          id: '10',
          label: '未缴纳保证金项目',
          isDefault: true,
          name: 'deposit_access_total',
          children: [
            {
              id: 'deposit_access_total1',
              label: '项目名称',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'projectName',
            },
            {
              id: 'deposit_access_total2',
              label: '市或盟',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'cityName',
            },
            {
              id: 'deposit_access_total21',
              label: '区县',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'countyName',
            },
            {
              id: 'deposit_access_total22',
              label: '街道',
              disabled1: true,
              isDefault: true,
              isShow: true,
              name: 'townName',
            },
            {
              id: 'deposit_access_total3',
              label: '行业',
              isDefault: true,
              disabled1: true,
              isShow: true,
              name: 'industryName',
            },
            {
              id: 'deposit_access_total4',
              label: '投资类别',
              isDefault: true,
              isShow: true,
              name: 'investmentDesc',
            },

            {
              id: 'deposit_access_total6',
              label: '施工方',
              isDefault: true,
              isShow: true,
              name: 'pbName',
            },

            {
              id: 'deposit_access_total9',
              label: '建设方',
              isDefault: true,
              isShow: false,
              name: 'pcName',
            },
            {
              id: 'deposit_access_total10',
              label: '建档日期',
              isDefault: true,
              isShow: true,
              name: 'archiveDate',
            },
            {
              id: 'deposit_access_total19',
              label: '开工日期',
              isDefault: true,
              isShow: true,
              name: 'startDate',
            },
            {
              id: 'deposit_access_total20',
              label: '建设周期(天)',
              isDefault: true,
              isShow: false,
              name: 'cycle',
            },
            {
              id: 'deposit_access_total21',
              label: '竣工日期',
              isDefault: true,
              isShow: false,
              name: 'endDate',
            },
            {
              id: 'deposit_access_total11',
              label: '项目状态',
              isDefault: true,
              isShow: false,
              name: 'statusDesc',
            },
            {
              id: 'deposit_access_total12',
              label: '项目工程造价',
              isDefault: true,
              isShow: false,
              name: 'total',
            },
            {
              id: 'deposit_access_total13',
              label: '项目详细地址',
              isDefault: true,
              isShow: false,
              name: 'address',
            },
            {
              id: 'deposit_access_total14',
              label: '开户银行',
              isDefault: true,
              isShow: false,
              name: 'bankName',
            },
            {
              id: 'deposit_access_total15',
              label: '工资专户账号',
              isDefault: true,
              isShow: false,
              name: 'account',
            },
            {
              id: 'deposit_access_total7',
              label: '项目负责人(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leader',
            },
            {
              id: 'deposit_access_total8',
              label: '负责人手机号(施工方)',
              isDefault: true,
              isShow: true,
              name: 'leaderTel',
            },
            {
              id: 'deposit_access_total16',
              label: '项目负责人（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeader',
            },
            {
              id: 'deposit_access_total17',
              label: '负责人手机号（建设方）',
              isDefault: true,
              isShow: false,
              name: 'pcLeaderTel',
            },
          ],
        },
      ],
    }
  },
  mounted() {
    if (this.isEsUser()) {
      let obj = {
        id: 'availableFiscalTotal',
        label: '无资金拨付财政项目数(个)',
        isDefault: true,
        isShow: true,
        name: 'availableFiscalTotal',
      }
      this.list[0].children.push(obj)
      this.list.push(this.isEsUserTab)
    }
    this.$store.commit('SET_INFO', ['treeList', this.list])
  },
  methods: {
    handleClick(tab, event) {
      // 初始化 清除从待完善列表传过来的值
      this.areaId = ''
      //   this.industryId ='';
      //   this.status = '';
      //   this.investment = '';
    },
    callBackActive(val) {
      this.activeName = val.type + ''
      this.areaId = val.areaId + ''
      this.industryId = val.industryId + ''
      this.status = val.status + ''
      this.investment = val.investment + ''
    },
    setList(val) {
      const { list, activeName } = val
      const arr = this.list[activeName]
      arr.children = list
      this.$set(this.list, activeName, arr)
      this.list = JSON.parse(JSON.stringify(this.list))
    },
  },
}
</script>
<style lang="less" scoped>
.mainCon {
  top: 132px;
  padding: 0;
  font-family: SourceHanSansCN-Medium;
  &Header {
    position: relative;
    &Content {
      position: absolute;
      left: 130px;
      z-index: 100;
      font-size: 12px;
      color: #666666;
    }
  }
  /deep/.el-tabs__nav-wrap {
    padding: 0 40px;
    .el-tabs__nav-prev {
      width: 40px;
      text-align: center;
      margin-top: 0;
      line-height: 57px;
      //   border-right: 1px solid #f1f1f1;
      box-shadow: 7px 0px 7px -7px #aaaaaa;
    }
    .el-tabs__nav-next {
      width: 40px;
      text-align: center;
      margin-top: 0;
      line-height: 57px;
      box-shadow: -7px 0px 7px -7px #aaaaaa;
    }
    .el-tabs__item {
      &:first-child {
        margin-left: 15px;
      }
      &:last-child {
        margin-right: 15px;
      }
    }
  }
}
// tab栏切换
.tabs {
  background-color: #e4ebf1;
  /deep/ .el-tabs__content {
    background: #fff;
    // min-height: 800px;
    padding: 24px 0px 0;
  }
  /deep/ .el-tabs__header {
    margin: 0;
  }
  /deep/ .el-tabs__nav-scroll {
    overflow: hidden;
    background: #e4ebf1;
    /* margin-top: 10px; */
    padding-top: 15px;
  }
  /deep/ .el-tabs__item.is-active {
    font-size: 14px;
    color: #333;
    // font-weight: bold;
    background: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }
  /deep/ .el-tabs__item {
    color: #333;
    background: #d5e0e9;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-family: SourceHanSansCN-Medium;
  }
  /deep/ .el-tabs__item:first-child {
    margin: 0 4px 1px 24px;
  }
  /deep/ .el-tabs__item {
    margin-right: 4px;
  }
  /deep/ .el-tabs__item:last-child {
    margin-right: 0;
  }
  /deep/ .el-tabs__nav-next {
    margin-top: 7px;
  }
  /deep/ .el-tabs__nav-prev {
    margin-top: 7px;
  }
}
</style>
